import request from "@/util/request.js"



const query=(data)=>{
	return request({
		url:'/Dicttype/query',
		params:data,
	})
}

const get=(data)=>{
	return request({
		url:'/Dicttype/'+data,
	})
}


const Update=(data)=>{
	return request({
		url:'/Dicttype/update',
		method:"post",
		data:data,
	})
}

const add=(data)=>{
	return request({
		url:'/Dicttype/Add',
		method:"post",
		data:data,
	})
}

const del=(id)=>{
	return request({
		url:'/Dicttype/'+id,
		method:"delete",
	})
}
export default {
	query,
	get,
	add,
	del,
	Update
}